package com.easy.neo4j.service.impl;
import com.easy.neo4j.service.RouteSchemeHandler;
import com.easy.neo4j.service.RouteService;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * @Author: CoolPro
 * @Description:
 * @Time: 2024-03-28 11:23
 **/
@Component
public class RouteServiceImpl implements RouteService {

    @Resource
    RouteSchemeHandler routeSchemeHandler;
    @Override
    public String findRoute(String[] start, String[] end, String schemeType) {
        return routeSchemeHandler.getRouteScheme(start,end,schemeType);
    }


}
